package cn.wolfcode.luowowo.service;

import cn.wolfcode.luowowo.domain.UserInfo;


public interface IUserInfoService  {
    //查询单个用户
    UserInfo get(String id);
    //检查该手机号码又没有被注册
    boolean checkPhone(String phone);

    //发送验证码,并存到数据库中
    void sendVerifyCode(String phone, String smsAppkey, String smsUrl, String smsSign);

    //完成注册
    void regist(String phone,String nickname,String password,String rpassword,String verifyCode);

    UserInfo checkLogin(String username, String password);

}
